package org.cyk.solution.demo

class Dog {

    private var code: Int? = null
    private var msg: String? = null

    private constructor()

    constructor(code: Int, msg: String) {
        this.code = code
        this.msg = msg
    }

}

fun main() {
    val d = Dog(1, "nihao")
}